package com.msgqer.rchat.controller;

import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

/**
 * chat controller层
 * 
 * @author keaizhuzhu@面试怪圈 ;官网地址：{@link http://www.mianshiguaiquan.com}
 *         这里有更多面试、技术、学习资料及源码等
 *
 */
@RestController
@RequestMapping("/chat")
public class ChatController {

	@RequestMapping("/index.html")
	public ModelAndView index(Model model) {
		return new ModelAndView("index.html");
	}
}
